package com.ruoyi.oa.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 审核对象 oa_confirm
 *
 * @author ruoyi
 * @date 2021-10-31
 */
public class OaConfirm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String confirmUuid;

    /** 审核类型（字典表） */
    @Excel(name = "审核类型", readConverterExp = "字=典表")
    private String oaDictConfirmType;

    /** 表名 */
    @Excel(name = "表名")
    private String tableName;

    /** UUID 字段名 */
    @Excel(name = "UUID 字段名")
    private String uuidColumn;

    /** 外键ID */
    @Excel(name = "外键ID")
    private String fkUuid;

    /** 业务内容 */
    @Excel(name = "业务内容")
    private String businessContent;

    /** 经办人姓名 */
    @Excel(name = "经办人姓名")
    private String attentionUserName;

    /** 经办人ID */
    @Excel(name = "经办人ID")
    private String fkAttentionUserId;

    /** 审核人姓名 */
    @Excel(name = "审核人姓名")
    private String confirmUserName;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date confirmDt;

    /** 审核人ID */
    @Excel(name = "审核人ID")
    private String fkConfirmUserId;

    /** 审核结果 */
    @Excel(name = "审核结果")
    private String confirmResult;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String confirmNote;

    /** 审核结果（字典表） */
    @Excel(name = "审核结果", readConverterExp = "字=典表")
    private String oaDictConfirmStatus;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    public void setConfirmUuid(String confirmUuid)
    {
        this.confirmUuid = confirmUuid;
    }

    public String getConfirmUuid()
    {
        return confirmUuid;
    }
    public void setOaDictConfirmType(String oaDictConfirmType)
    {
        this.oaDictConfirmType = oaDictConfirmType;
    }

    public String getOaDictConfirmType()
    {
        return oaDictConfirmType;
    }
    public void setTableName(String tableName)
    {
        this.tableName = tableName;
    }

    public String getTableName()
    {
        return tableName;
    }
    public void setUuidColumn(String uuidColumn)
    {
        this.uuidColumn = uuidColumn;
    }

    public String getUuidColumn()
    {
        return uuidColumn;
    }
    public void setFkUuid(String fkUuid)
    {
        this.fkUuid = fkUuid;
    }

    public String getFkUuid()
    {
        return fkUuid;
    }
    public void setBusinessContent(String businessContent)
    {
        this.businessContent = businessContent;
    }

    public String getBusinessContent()
    {
        return businessContent;
    }
    public void setAttentionUserName(String attentionUserName)
    {
        this.attentionUserName = attentionUserName;
    }

    public String getAttentionUserName()
    {
        return attentionUserName;
    }
    public void setFkAttentionUserId(String fkAttentionUserId)
    {
        this.fkAttentionUserId = fkAttentionUserId;
    }

    public void setConfirmUserName(String confirmUserName)
    {
        this.confirmUserName = confirmUserName;
    }

    public String getConfirmUserName()
    {
        return confirmUserName;
    }

    public void setConfirmResult(String confirmResult)
    {
        this.confirmResult = confirmResult;
    }

    public String getConfirmResult()
    {
        return confirmResult;
    }

    public void setNote(String note)
    {
        this.note = note;
    }

    public String getNote()
    {
        return note;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("confirmUuid", getConfirmUuid())
                .append("oaDictConfirmType", getOaDictConfirmType())
                .append("tableName", getTableName())
                .append("uuidColumn", getUuidColumn())
                .append("fkUuid", getFkUuid())
                .append("businessContent", getBusinessContent())
                .append("attentionUserName", getAttentionUserName())
                .append("fkAttentionUserId", getFkAttentionUserId())
                .append("confirmUserName", getConfirmUserName())
                .append("confirmDt", getConfirmDt())
                .append("fkConfirmUserId", getFkConfirmUserId())
                .append("confirmResult", getConfirmResult())
                .append("confirmNote", getConfirmNote())
                .append("oaDictConfirmStatus", getOaDictConfirmStatus())
                .append("note", getNote())
                .toString();
    }
}